<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>对象的增加</title>
</head>
<body>
            <script>
                var people= {
                    name:'小心',
                    age:3,
                    married:'no',
                    perents:['father','mother']
                };
                console.log(people.perents[1]);     //对象中有数组时的访问




            </script>
</body>
</html>